<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:charting="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
                    xmlns:DataVisualization="clr-namespace:System.Windows.Controls.DataVisualization;assembly=System.Windows.Controls.DataVisualization.Toolkit"
                    xmlns:chartingprimitives="clr-namespace:System.Windows.Controls.DataVisualization.Charting.Primitives;assembly=System.Windows.Controls.DataVisualization.Toolkit">

	<!-- Light Green -->
	<RadialGradientBrush x:Key="LegendBrush0" GradientOrigin="-0.1,-0.1" Center="0.075,0.015" RadiusX="1.05" RadiusY="0.9">
		<GradientStop Color="#FFB8C0AC" />
		<GradientStop Color="#FF5F7143" Offset="1" />
	</RadialGradientBrush>

	<!-- Darker Yellow -->
	<RadialGradientBrush x:Key="LegendBrush1" GradientOrigin="-0.1,-0.1" Center="0.075,0.015" RadiusX="1.05" RadiusY="0.9">
		<GradientStop Color="#FFD7BD5B" />
		<GradientStop Color="#FFB09925" Offset="1" />
	</RadialGradientBrush>

	<!-- Yellow -->
	<RadialGradientBrush x:Key="LegendBrush2" GradientOrigin="-0.1,-0.1" Center="0.075,0.015" RadiusX="1.05" RadiusY="0.9">
		<GradientStop Color="#FFFDE79C" />
		<GradientStop Color="#FFF6BC0C" Offset="1" />
	</RadialGradientBrush>

	<!--Red-->
	<RadialGradientBrush x:Key="LegendBrush3" GradientOrigin="-0.1,-0.1" Center="0.075,0.015" RadiusX="1.05" RadiusY="0.9">
		<GradientStop Color="#FFFBB7B5" />
		<GradientStop Color="#FF702828" Offset="1" />
	</RadialGradientBrush>

	<Style x:Key="BaseChartStyle" TargetType="{x:Type charting:Chart}">
		<Setter Property="Background" Value="Transparent" />
		<Setter Property="BorderBrush" Value="Transparent" />
		<Setter Property="BorderThickness" Value="0" />
		<Setter Property="Padding" Value="0" />
		<Setter Property="IsTabStop" Value="False" />
		<Setter Property="SnapsToDevicePixels" Value="True" />
		<Setter Property="LegendStyle">
			<Setter.Value>
				<Style TargetType="DataVisualization:Legend">
					<Setter Property="BorderThickness" Value="0" />
					<Setter Property="BorderBrush" Value="Transparent" />
					<Setter Property="Background" Value="Transparent" />
					<Setter Property="Margin" Value="0" />
					<Setter Property="VerticalAlignment" Value="Center" />
				</Style>
			</Setter.Value>
		</Setter>
		<Setter Property="ChartAreaStyle">
			<Setter.Value>
				<Style TargetType="Panel">
					<Setter Property="MinWidth" Value="0" />
					<Setter Property="MinHeight" Value="0" />
				</Style>
			</Setter.Value>
		</Setter>
	</Style>

	<Style x:Key="PieChartStyle" BasedOn="{StaticResource BaseChartStyle}" TargetType="{x:Type charting:Chart}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type charting:Chart}">
					<chartingprimitives:EdgePanel x:Name="ChartArea" Style="{TemplateBinding ChartAreaStyle}" />
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="Palette">
			<Setter.Value>
				<DataVisualization:ResourceDictionaryCollection>
					<ResourceDictionary>
						<!-- Light Green -->
						<Style x:Key="DataPointStyle" TargetType="Control">
							<Setter Property="Background" Value="{StaticResource LegendBrush0}" />
						</Style>
					</ResourceDictionary>
					<ResourceDictionary>
						<!-- Darker Yellow -->
						<Style x:Key="DataPointStyle" TargetType="Control">
							<Setter Property="Background" Value="{StaticResource LegendBrush1}" />
						</Style>
					</ResourceDictionary>
					<ResourceDictionary>
						<!-- Yellow -->
						<Style x:Key="DataPointStyle" TargetType="Control">
							<Setter Property="Background" Value="{StaticResource LegendBrush2}" />
						</Style>
					</ResourceDictionary>
					<ResourceDictionary>
						<!--Red-->
						<Style x:Key="DataPointStyle" TargetType="Control">
							<Setter Property="Background" Value="{StaticResource LegendBrush3}" />
						</Style>
					</ResourceDictionary>
				</DataVisualization:ResourceDictionaryCollection>
			</Setter.Value>
		</Setter>
	</Style>

	<Style TargetType="charting:PieSeries">
		<Setter Property="Margin" Value="0" />
	</Style>
</ResourceDictionary>